package com.vhall.component.entity.account.vo;

import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * @author lsl
 * @since 2021/4/27
 */
@Data
public class RoleRspVO implements Serializable {

    @JsonProperty("role_id")
    private Integer roleId;

    @JsonProperty("name")
    private String name;

    @JsonProperty("code")
    private String code;

    @JsonProperty("desc")
    private String desc;

    @JsonProperty("status")
    private Integer status;

    @JsonProperty("app_id")
    private String appId;

    @JsonProperty("level")
    private Integer level;

    @JsonProperty("created_at")
    private LocalDateTime roleCreatedAt;

    @JsonProperty("updated_at")
    private LocalDateTime roleUpdatedAt;

    @JsonProperty("deleted_at")
    private LocalDateTime roleDeletedAt;

    @JsonProperty("status_str")
    private String statusStr;
}
